package com.atguigu.homework.exer1;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/14 16:49
 * @注释
 */
public class Test {
    public static void main(String[] args) {
        Vehicle m1 = new Monocycle(1);
        m1.drive();
        System.out.println(m1);

        Vehicle b2 = new Bicycle(2);
        b2.drive();
        System.out.println(b2);

        Vehicle t3 = new Tricycle(3);
        t3.drive();
        System.out.println(t3);
    }
}
